﻿

// 自定义双击查看
var CustomDbClick = function () {
    var recordID = myDataTable.getSelectedRows()[0],
        record = myDataTable.getRecord(recordID);
    const_EditEntity = "V_BH_AccountsReceivableDetail";
    var pagetitle = "查看应收明细—" + record.getData("ID");
    parent._employeeTitle = pagetitle;
    parent.addTabs(pagetitle, "/Extend/AutoLoadForm.aspx?r=" + Math.random() + "&entity=" + const_EditEntity + "&read=true&id=" + record.getData("ID"));
}

// 自定义新增
var fnCustomAdd = function () {
    alert("该功能不提供当前操作");
    return;
}

// 新增手动结算
var fnEntryARDetail = function () {
    const_EditEntity = "V_BH_AccountsReceivableDetail";
    var pagetitle = "新增应收明细手工录入";
    parent._employeeTitle = pagetitle;
    parent.addTabs(pagetitle, encodeURI("../Extend/Edit.aspx?r=" + Math.random() + "&entity=" + const_EditEntity + "&actionFlag=1"));
    parent.NeedRefreshPage = this;
}

// 自定义修改
var fnCustomEdit = function () {
    alert("当前业务不能进行修改操作！");
    return;
}

// 自定义删除
var fnCustomDelete = function () {
    alert("当前业务不能进行删除操作！");
    return;
}